﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using D.WPF.MVVM;

namespace CarAppClient.Views.LeftMenu.Models
{
    /// <summary>
    /// 系统模块
    /// </summary>
    public class SystemModule : BaseMvvm
    {
        public string? Key { get; set; }

        private string? _title;
        public string? Title
        {
            get => _title;
            set { _title = value; RaisePropertyChanged(); }
        }

        private int? _selectedIndex;
        public int? SelectedIndex
        {
            get => _selectedIndex;
            set { _selectedIndex = value; RaisePropertyChanged(); }
        }

        public bool IsGroupEnabled { get; set; }

        public string? Description { get; set; }
        public IList<MenuItemModel>? MenuItemList { get; set; }
    }
}
